package com.breeze.blockchain.auth.util;

/**
 * 登陆主体类型
 *
 * @author breeze
 */
public interface LoginLogics {
  String APP = "app";
  String ADMIN = "admin";

  static boolean isApp(String loginType) {
    return LoginLogics.APP.equals(loginType);
  }

  static boolean isAdmin(String loginType) {
    return LoginLogics.ADMIN.equals(loginType);
  }
}
